package com.x.erp.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

@MappingTable(tableName = "BASE_DISTRICT")
public class District extends BaseObject {
    private static final long serialVersionUID = 6311152015226036864L;
    @MappingColumn(columnName = "DISTRICT_ID", columnPk = true, columnLength = 6)
    private String districtId;
    @MappingColumn(columnName = "DISTRICT_CODE")
    private String districtCode;
    @MappingColumn(columnName = "DISTRICT_NAME")
    private String districtName;
    @MappingColumn(columnName = "DISTRICT_SEQ")
    private Integer districtSeq;
    @MappingColumn(columnName = "DISTRICT_PINYIN")
    private String districtPinyin;
    @MappingColumn(columnName = "DISTRICT_INITIAL")
    private String districtInitial;
    @MappingColumn(columnName = "DISTRICT_STATE")
    private Integer districtState;
    @MappingColumn(columnName = "CITY_ID")
    private String cityId;
    @MappingTable(tableName = "BASE_CITY")
    private City city;
    private String provinceName;
    private String cityName;

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDistrictId() {
        return districtId;
    }

    public void setDistrictId(String districtId) {
        this.districtId = districtId;
    }

    public String getDistrictCode() {
        return districtCode;
    }

    public void setDistrictCode(String districtCode) {
        this.districtCode = districtCode;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public Integer getDistrictSeq() {
        return districtSeq;
    }

    public void setDistrictSeq(Integer districtSeq) {
        this.districtSeq = districtSeq;
    }

    public Integer getDistrictState() {
        return districtState;
    }

    public void setDistrictState(Integer districtState) {
        this.districtState = districtState;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }

    public String getDistrictPinyin() {
        return districtPinyin;
    }

    public void setDistrictPinyin(String districtPinyin) {
        this.districtPinyin = districtPinyin;
    }

    public String getDistrictInitial() {
        return districtInitial;
    }

    public void setDistrictInitial(String districtInitial) {
        this.districtInitial = districtInitial;
    }

}
